new_content = '我叫吴昊,hhhhhh\n'
with open('sample4_2.txt', 'w', encoding='utf-8') as file: 
    file.write(new_content)
    file.writelines(new_content)
